import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { AuthService } from './auth/';

@Component({
    moduleId: module.id,
    selector: 'app-root',
    templateUrl: 'app.component.html',
    styleUrls: ['app.component.css']
})
export class AppComponent {

    constructor(
        private authService:AuthService
    ){ }

    logout():void {
        this.authService.logout()
    }
 }
